<template>
    <view class="">
		<TheDateOf dxtitle="选择时间" @closee="closee" @queding="queding"></TheDateOf>
		
		<view class="mt20">
			<button type="primary" @tap="openrili">打开日期选择</button>
		</view>
		<uni-popup ref="popup" type="bottom" :animation="true">
			<TheDateOf dxtitle="选择时间" @closee="closee" @queding="queding"></TheDateOf>
		</uni-popup>
		
		
    </view>
</template>
<script>
	import TheDateOf from "@/components/dxgj/TheDateOf.vue"
    export default {
        data() { 
            return {
				
			}
        },
        components: {
			TheDateOf
		},
        methods: {
			closee(){
				this.$refs.popup.close()
				console.log('取消按钮触发')
			},
			queding(e){
				this.$refs.popup.close()
				console.log('确定按钮触发'+e)
			},
			openrili() {
				this.$refs.popup.open()
			},
		},
        mounted() {}
    }

</script>
<style  scoped>

</style>
